/* Copy/pasted and tweaked from https://primer.style/components/Tooltip */


/*
.tooltipped
.tooltipped-nw
.tooltipped-n
.tooltipped-ne
.tooltipped-w
.tooltipped-e
.tooltipped-sw
.tooltipped-s
.tooltipped-se
*/

.tooltipped {
	position: relative;
	--color-tooltip-text: black;
	--color-tooltip-bg: white;
}
.tooltipped::after {
	position: absolute;
	z-index: 1000000;
	display: none;
	padding: 0.5em 0.75em;
	font-size: 13px;
	font-weight: normal;
	color: var(--color-tooltip-text);
	text-align: center;
	text-decoration: none;
	text-shadow: none;
	text-transform: none;
	letter-spacing: normal;
	word-wrap: break-word;
	white-space: pre;
	pointer-events: none;
	content: attr(aria-label);
	background: var(--color-tooltip-bg);
	border-radius: 6px;
	opacity: 0;
}
.tooltipped::before {
	position: absolute;
	z-index: 1000001;
	display: none;
	width: 0;
	height: 0;
	color: var(--color-tooltip-bg);
	pointer-events: none;
	content: '';
	border: 6px solid transparent;
	opacity: 0;
}

@keyframes tooltip-appear {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}
.tooltipped:hover::before,
.tooltipped:hover::after,
.tooltipped:active::before,
.tooltipped:active::after,
.tooltipped:focus::before,
.tooltipped:focus::after {
	display: inline-block;
	text-decoration: none;
	animation-name: tooltip-appear;
	animation-duration: 0.1s;
	animation-fill-mode: forwards;
	animation-timing-function: ease-in;
	animation-delay: 0.3s;
}
.tooltipped-no-delay:hover::before,
.tooltipped-no-delay:hover::after,
.tooltipped-no-delay:active::before,
.tooltipped-no-delay:active::after,
.tooltipped-no-delay:focus::before,
.tooltipped-no-delay:focus::after {
	animation-delay: 0s;
}
.tooltipped-multiline:hover::after,
.tooltipped-multiline:active::after,
.tooltipped-multiline:focus::after {
	display: table-cell;
}
.tooltipped-s::after,
.tooltipped-se::after,
.tooltipped-sw::after {
	top: 100%;
	right: 50%;
	margin-top: 6px;
}
.tooltipped-s::before,
.tooltipped-se::before,
.tooltipped-sw::before {
	top: auto;
	right: 50%;
	bottom: -7px;
	margin-right: -6px;
	border-bottom-color: var(--color-tooltip-bg);
}
.tooltipped-se::after {
	right: auto;
	left: 50%;
	margin-left: -16px;
}
.tooltipped-sw::after {
	margin-right: -16px;
}
.tooltipped-n::after,
.tooltipped-ne::after,
.tooltipped-nw::after {
	right: 50%;
	bottom: 100%;
	margin-bottom: 6px;
}
.tooltipped-n::before,
.tooltipped-ne::before,
.tooltipped-nw::before {
	top: -7px;
	right: 50%;
	bottom: auto;
	margin-right: -6px;
	border-top-color: var(--color-tooltip-bg);
}
.tooltipped-ne::after {
	right: auto;
	left: 50%;
	margin-left: -16px;
}
.tooltipped-nw::after {
	margin-right: -16px;
}
.tooltipped-s::after,
.tooltipped-n::after {
	transform: translateX(50%);
}
.tooltipped-w::after {
	right: 100%;
	bottom: 50%;
	margin-right: 6px;
	transform: translateY(50%);
}
.tooltipped-w::before {
	top: 50%;
	bottom: 50%;
	left: -7px;
	margin-top: -6px;
	border-left-color: var(--color-tooltip-bg);
}
.tooltipped-e::after {
	bottom: 50%;
	left: 100%;
	margin-left: 6px;
	transform: translateY(50%);
}
.tooltipped-e::before {
	top: 50%;
	right: -7px;
	bottom: 50%;
	margin-top: -6px;
	border-right-color: var(--color-tooltip-bg);
}
.tooltipped-align-right-1::after,
.tooltipped-align-right-2::after {
	right: 0;
	margin-right: 0;
}
.tooltipped-align-right-1::before {
	right: 10px;
}
.tooltipped-align-right-2::before {
	right: 15px;
}
.tooltipped-align-left-1::after,
.tooltipped-align-left-2::after {
	left: 0;
	margin-left: 0;
}
.tooltipped-align-left-1::before {
	left: 5px;
}
.tooltipped-align-left-2::before {
	left: 10px;
}
.tooltipped-multiline::after {
	width: max-content;
	max-width: 250px;
	word-wrap: break-word;
	white-space: pre-line;
	border-collapse: separate;
}
.tooltipped-multiline.tooltipped-s::after,
.tooltipped-multiline.tooltipped-n::after {
	right: auto;
	left: 50%;
	transform: translateX(-50%);
}
.tooltipped-multiline.tooltipped-w::after,
.tooltipped-multiline.tooltipped-e::after {
	right: 100%;
}
@media screen and (min-width: 0\0) {
	.tooltipped-multiline::after {
		width: 250px;
	}
}
.tooltipped-sticky::before,
.tooltipped-sticky::after {
	display: inline-block;
}
.tooltipped-sticky.tooltipped-multiline::after {
	display: table-cell;
}
